package com.snail.readyvr.mvp.contract;

import com.snail.readyvr.mvp.model.EmailFindPswParam;
import com.snail.readyvr.mvp.model.EmailRegisterParam;
import com.snail.readyvr.mvp.model.GetEmailVerifyCodeParam;
import com.snail.readyvr.mvp.model.LoginParam;
import com.snail.readyvr.mvp.model.PhoneRegisterParam;
import com.snail.readyvr.mvp.presenter.BasePresenter;
import com.snail.readyvr.mvp.view.BaseView;

/**
 * Created by MRKING on 2016/10/10.
 */

public interface RegisterActivityContract {

    interface View extends BaseView<Presenter> {

        void getPhoneVerifyCodeSuccess();
        void phoneRegisterSuccess();
        void phoneFindPswSuccess();
        void emailRegisterSuccess();
        void getEmailVerifyCodeSuccess();
    }


    interface Presenter extends BasePresenter {
        void getPhoneVerifyCode(String phoneNum);
        void phoneRegister(PhoneRegisterParam param);
        void phoneFindPsw(PhoneRegisterParam param);
        void autoLogin(int from,LoginParam param);
        void emailRegister(EmailRegisterParam param);
        void getEmailVerifyCode(GetEmailVerifyCodeParam param);
        void emailFindPsw(EmailFindPswParam param);

    }
}
